home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / 3card_poker.swf / scripts / DefineSprite_166 / frame_11 / DoAction_2.as next >
Text File  |  2006-01-17  |  888b  |  34 lines

  1. tellTarget("_level0/b-hit")
  2. {
  3.    gotoAndStop(1);
  4. }
  5. tellTarget("_level0/b-stand")
  6. {
  7.    gotoAndStop(1);
  8. }
  9. set("../:hsdplay","1");
  10. set("../:BoDeal","1");
  11. stop();
  12. if(eval("_level0/:creditsPlayedan") == "0")
  13. {
  14.    tellTarget("_level0/b-hit")
  15.    {
  16.       gotoAndStop(2);
  17.    }
  18.    tellTarget("_level0/b-stand")
  19.    {
  20.       gotoAndStop(2);
  21.    }
  22.    setProperty("_level0/setcards/card1", _rotation, - "20");
  23.    setProperty("_level0/setcards/card3", _rotation, "20");
  24.    setProperty("_level0/setcards/card1", _X, - "10.5");
  25.    setProperty("_level0/setcards/card2", _X, - "2.5");
  26.    setProperty("_level0/setcards/card3", _X, "13.5");
  27.    setProperty("_level0/setcards/card1", _Y, "60.5");
  28.    setProperty("_level0/setcards/card2", _Y, "60.5");
  29.    setProperty("_level0/setcards/card3", _Y, "60.5");
  30.    set("../:hsdplay","0");
  31.    set("../:BoDeal","0");
  32.    gotoAndPlay(12);
  33. }
  34.